package com.shine.enums;

/**
 * @author huihui
 * @date 2025/10/11 16:19
 * @description UserStatusEnum
 */
public enum UserStatusEnum implements IEnum<Integer> {

    /**
     * 禁用
     */
    S0(0, "禁用"),

    /**
     * 正常
     */
    S1(1, "正常"),

    ;

    private Integer code;

    private String name;

    UserStatusEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    @Override
    public Integer getCode() {
        return this.code;
    }

    @Override
    public String getName() {
        return this.name;
    }

}